home *** CD-ROM | disk | FTP | other *** search
/ IBM Aptiva Multimedia Exploration CD / Aptiva DEMO CD.iso / dos63 / ibmavdr.bat < prev    next >
DOS Batch File  |  1993-12-31  |  2KB  |  49 lines

  1. @echo off
  2. rem *----------------------------------------------*
  3. rem * IBM AntiVirus/DOS                            *
  4. rem *      Version 1.02                            *
  5. rem * 5555-937 (C) Copyright IBM Corp. 1989, 1993. *
  6. rem * All rights reserved.                         *
  7. rem * U.S. Government Users Restricted Rights -    *
  8. rem * Use, duplication or disclosure restricted    *
  9. rem * by GSA ADP Schedule Contract with IBM Corp.  *
  10. rem *----------------------------------------------*
  11. %1IBMAVDQ SHIELD
  12. if errorlevel 100 goto out
  13. if errorlevel 8 goto eight
  14. if errorlevel 4 goto four
  15. goto run
  16. :eight
  17. %1IBMAVSH /S /X /!
  18. if errorlevel 6 goto run
  19. if errorlevel 5 goto run4
  20. goto run
  21. :four
  22. %1IBMAVSH /S /X /H /!
  23. if errorlevel 6 goto run
  24. if errorlevel 5 goto run4
  25. :run
  26. %1IBMAVDQ RUN
  27. if errorlevel 100 goto out
  28. if errorlevel 4 goto run4
  29. %1IBMAVDQ SHIELD
  30. if errorlevel 4 goto run5
  31. goto out
  32. :run5
  33. %1IBMAVDQ TOOLD
  34. if errorlevel 4 goto run6
  35. goto out
  36. :run6
  37. cls
  38. @echo *** Warning ****************************************************
  39. @echo *                                                              *
  40. @echo * This version of IBM AntiVirus needs to be updated to enhance *
  41. @echo * your protection against newer viruses. Please install the    *
  42. @echo * latest version of IBM AntiVirus.                             *
  43. @echo *                                                              *
  44. @echo ****************************************************************
  45. goto out
  46. :run4
  47. if exist %1IBMAVD.EXE %1IBMAVD /AUTORUN
  48. :out
  49.